﻿<UserControl x:Class="Coproject.Views.ShellView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Coproject.Controls"
	mc:Ignorable="d"
	d:DesignHeight="300" d:DesignWidth="400">

	<Grid x:Name="LayoutRoot">
		<Border Style="{StaticResource ContentBorderStyle}">
			<ContentControl Style="{StaticResource LogoIcon}"/>
		</Border>
		<Border Style="{StaticResource LeftBorderStyle}"/>

		<TextBlock Text="Coproject" Style="{StaticResource ApplicationTitleStyle}" />

		<ListBox x:Name="Items" Style="{StaticResource NavigationMenuStyle}">
			<ListBox.ItemTemplate>
				<DataTemplate>
					<TextBlock Text="{Binding Metadata.Title}" />
				</DataTemplate>
			</ListBox.ItemTemplate>
			<ListBox.ItemsPanel>
				<ItemsPanelTemplate>
					<StackPanel Orientation="Horizontal" />
				</ItemsPanelTemplate>
			</ListBox.ItemsPanel>
		</ListBox>

		<TextBlock x:Name="ActiveItem_Screen_Description" Style="{StaticResource CurrentPageTitleStyle}" />
		<ContentControl x:Name="ActiveItem_Screen" Style="{StaticResource MainContentStyle}" />

		<local:ImageButton x:Name="CloseActiveItem" ImageName="Close" ToolTipService.ToolTip="Close current module"
					Margin="20" HorizontalAlignment="Right" VerticalAlignment="Top" />
	</Grid>
</UserControl>
